﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "详情-工艺路线";
}
<style>
    .MyPanel p {height:20px;}
</style>
<div class="pageContent">
    <div class="pageFormContent" layouth="56">
        <div class="MyPanel">
            <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
            <div class="b d1 k">
                <div class="Title">工艺路线</div>
                <div class="Content">
                    <p>
                        <label>
                            工艺路线码：
                        </label>
                        XYX123456
                    </p>
                    <p>
                        <label>
                            版本：
                        </label>
                        A
                    </p>
                    <p>
                        <label>
                            生效日期：
                        </label>
                        2016-03-28
                    </p>
                    <p>
                        <label>
                            料号：
                        </label>
                        KDS-SD-TG-5884888
                    </p>
                    <p>
                        <label>
                            启用：
                        </label>
                        是
                    </p>

                    <p style="width:100%;height:35px;">
                        <label>
                            工艺路线描述：
                        </label>
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                    </p>
                    <p style="width:100%;height:35px;">
                        <label>
                            备注：
                        </label>
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                    </p>

                </div>
            </div>
            <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
        </div>
        <div class="MyPanel">
            <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
            <div class="b d1 k">
                <div class="Title">工序详情</div>
                <div class="Content">
                    <table class="treetalbe list " width="100%" layouth="500">
                        <thead>
                            <tr class="header">
                                <th style="width: 150px">工序编号</th>
                                <th>工序代码</th>
                                <th>工序名称</th>
                                <th>报工方式</th>
                                <th>完工检验</th>
                                <th>工序损耗</th>
                                <th>估计准备工时/秒</th>
                                <th>估计工时/秒</th>
                                <th>主程序路径</th>
                                <th>参考档案</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr  class="selected" target="CraftLine_id" rel="7" data-tt-id="1" onclick="ShowDrives('GX0001')">
                                <td>GX0001</td>
                                <td>工序代码</td>
                                <td>工序名称</td>
                                <td>报工方式</td>
                                <td>完工检验</td>
                                <td>工序损耗</td>
                                <td>估计准备工时/秒</td>
                                <td>估计工时/秒</td>
                                <td>主程序路径</td>
                                <td>参考档案</td>
                            </tr>
                            <tr target="CraftLine_id" rel="2" data-tt-id="2" onclick="ShowDrives('GX0002')">
                                <td>GX0002</td>
                                <td>工序代码</td>
                                <td>工序名称</td>
                                <td>报工方式</td>
                                <td>完工检验</td>
                                <td>工序损耗</td>
                                <td>估计准备工时/秒</td>
                                <td>估计工时/秒</td>
                                <td>主程序路径</td>
                                <td>参考档案</td>
                            </tr>
                            <tr target="CraftLine_id" rel="2" data-tt-id="2" onclick="ShowDrives('GX0002')">
                                <td>GX0002</td>
                                <td>工序代码</td>
                                <td>工序名称</td>
                                <td>报工方式</td>
                                <td>完工检验</td>
                                <td>工序损耗</td>
                                <td>估计准备工时/秒</td>
                                <td>估计工时/秒</td>
                                <td>主程序路径</td>
                                <td>参考档案</td>
                            </tr>

                        </tbody>

                    </table>

                </div>
            </div>
            <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
        </div>
        <div class="MyPanel drives" id="GX0001" >
            <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
            <div class="b d1 k">
                <div class="Title">资源-GX0001</div>
                <div class="Content">
                    <table class="treetable list " width="100%" layouth="500">
                        <thead>
                            <tr class="header">
                                <th style="width:50px">ID</th>
                                <th>设备组编码</th>
                                <th>设备组名称</th>
                                <th>主生产设备</th>
                                <th>设备数</th>
                                <th>刀位</th>
                                <th>备注</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="header" target="CraftLine_id" rel="7" data-tt-id="7">
                                <td style="width:50px">1</td>
                                <th>设备组编码</th>
                                <th>设备组名称</th>
                                <th>主生产设备</th>
                                <th>设备数</th>
                                <th>刀位</th>
                                <th>备注</th>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
        </div>
        <div class="MyPanel drives" id="GX0002" style="display:none">
            <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
            <div class="b d1 k">
                <div class="Title">资源-GX0002</div>
                <div class="Content">
                    <table class="treetable list " width="100%" layouth="500">
                        <thead>
                            <tr class="header">
                                <th style="width:50px">ID</th>
                                <th>设备组编码</th>
                                <th>设备组名称</th>
                                <th>主生产设备</th>
                                <th>设备数</th>
                                <th>刀位</th>
                                <th>备注</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="header" target="CraftLine_id" rel="7" data-tt-id="7">
                                <td style="width:50px">1</td>
                                <th>设备组编码</th>
                                <th>设备组名称</th>
                                <th>主生产设备</th>
                                <th>设备数</th>
                                <th>刀位</th>
                                <th>备注</th>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
        </div>
        @Html.Partial("Operation", Model)
    </div>
</div>
<script>
    function ShowDrives(currentId)
    {
        $(".drives").hide();
        $("#" + currentId).show();
    }
</script>
